package com.starchain.smsender;

/**
 * @author wenwenlong
 */
public final class SendMsgUtil {
	static String url = "http://222.73.117.158/msg/";// 应用地址
	static String account = "VIP-yrgyl8";// 账号
	static String pswd = "Tch922973";// 密码
	static boolean needstatus = true;// 是否需要状态报告，需要true，不需要false
	static String extno = null;// 扩展码

	public static final String sendMsg(String mobileList, String message) {
		String returnString = "";
		try {
			returnString = HttpSender.batchSend(url, account, pswd, mobileList, message, needstatus, extno);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return returnString;
	}
	
	
	public static void main(String[] args) {
		System.out.println(sendMsg("17802109107","验证码是000000"));
	}
}
